package com.fortune.rainshinecommon.model.system;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import com.baomidou.mybatisplus.annotations.TableName;
import com.fortune.rainshinecommon.base.BaseModel;

/**
 * @program: rainShine
 * @description: 会员卡类
 * @author: tangyn
 * @create: 2019-03-23
 **/
@TableName("cards")
public class CardModel extends BaseModel{

	private static final long serialVersionUID = -4096801666385763565L;

    @NotBlank(message = "会员卡类型不能为空！")
    private String cardName;
    private Integer serviceTimes;
    private short isActive;
    @NotBlank(message = "服务名称不能为空！")
    private String serviceName;

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getCardName() {
        return cardName;
    }

    public void setCardName(String cardName) {
        this.cardName = cardName;
    }

    public Integer getServiceTimes() {
        return serviceTimes;
    }

    public void setServiceTimes(Integer serviceTimes) {
        this.serviceTimes = serviceTimes;
    }

	public short getIsActive() {
		return isActive;
	}
	public void setIsActive(short isActive) {
		this.isActive = isActive;
	}
}
